﻿@model MvcAtletIS.Models.Clubs
@{
    ViewBag.Title = "Môj klub";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>Môj klub: @Model.Name</h2>

<fieldset>

    <legend>Detaily</legend>

    <p>
        @Model.Street <br />
        @Model.City <br />
        @Model.Email <br />
        @Model.Web <br />
        <br />
        @Model.CompetitorsCount pretekárov <br />
        @Model.CoachesCount trénerov <br />
        @Model.RefereesCount rozhodcov <br />
    </p>

</fieldset>

<fieldset>

    <legend>Možnosti</legend>
    
    <ul>
        <li>@Html.ActionLink("Klubové prihlášky", "Index", "Signups") </li>
    </ul>

    <ul>
        <li>@Html.ActionLink("Editovať údaje o klube", "Edit", "Clubs") </li>
        <li>@Html.ActionLink("Editovať členov", "Index", "Competitors") </li>
        <li>@Html.ActionLink("Editovať kontakty", "Index", "Contacts")</li>
    </ul>

    <ul>
        <li>@Html.ActionLink("Zobraziť pretekárov", "Competitors", "Registration", new { id = Model.ID, area = "" }, null) </li>
        <li>@Html.ActionLink("Zobraziť trénerov", "Coaches", "Registration", new { id = Model.ID, area = "" }, null) </li>
        <li>@Html.ActionLink("Zobraziť rozhodcov", "Referees", "Registration", new { id = Model.ID, area = "" }, null) </li>
        <li>@Html.ActionLink("Zobraziť kontakty", "Contacts", "Registration", new { id = Model.ID, area = "" }, null) </li>
    </ul>

</fieldset>
